/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package user;

import java.sql.*;
/**
 *
 * @author cipher
 */
public class UserRegistration {
    private static Connection connection = null;
    static String driverName="oracle.jdbc.driver.OracleDriver";
    static String dbUrl="jdbc:oracle:thin:@";

    public UserRegistration() {
    }

    public static Connection getConnection() throws Exception {
        String connName = dbUrl + "oracle1.cise.ufl.edu" +":1521:orcl";
        Class.forName(driverName).newInstance();
        connection = DriverManager.getConnection(connName,"bl1","cop$5725");
        return connection;
    }

}

